Document the RUSTC/RUSTDOC build script env vars
authorAlex Crichton <alex@alexcrichton.com>
Mon, 11 Jul 2016 16:57:19 +0000 (09:57 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 11 Jul 2016 16:57:19 +0000 (09:57 -0700)
src/doc/environment-variables.md

index 201c680ea2747f4bc44c0194b9f6d803f87dbcba..785e6b3a01a6676f97ca416ed353196be01c144e 100644 (file)
@@ -88,6 +88,9 @@ let out_dir = env::var("OUT_DIR").unwrap();
               [profiles][profile]).
 * `DEP_<name>_<key>` - For more information about this set of environment
                        variables, see build script documentation about [`links`][links].
+* `RUSTC`, `RUSTDOC` - the compiler and documentation generator that Cargo has
+                       resolved to use, passed to the build script so it might
+                       use it as well.
 
 [links]: build-script.html#the-links-manifest-key
 [profile]: manifest.html#the-profile-sections